import React from 'react'

const RoundPlayerIcon = props => {
    const {
        width,
        imgSrc,
        style,
    } = props
    return <div
        style={{
            background: `no-repeat url(${imgSrc}) 50% 50%/cover`,
            borderRadius: '50%',
            width: width,
            height: width,
            minWidth: width,
            ...style,
        }}
    >
        {/*<img src={imgSrc} alt='' style={{width: '100%',}}/>*/}
    </div>
}

export default RoundPlayerIcon
